/**
 * 获取入库明细表头
 */
const getMenyimpanTableHead = () => {
    return [
        {
            id: 1,
            label: '单据编号',
            prop: 'number',
            width: 158
        },
        {
            id: 2,
            label: '条码',
            prop: 'barCode',
            width: 60
        },
        {
            id: 3,
            label: '名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 7,
            label: '数量',
            prop: 'operNumber',
            sortable: true
        },
        {
            id: 8,
            label: '单价',
            prop: 'unitPrice',
            sortable: true
        },
        {
            id: 9,
            label: '金额',
            prop: 'allPrice',
            sortable: true
        },
        {
            id: 10,
            label: '税率',
            prop: 'taxRate'
        },
        {
            id: 11,
            label: '税额',
            prop: 'taxMoney',
            sortable: true
        },
        {
            id: 12,
            label: '往来单位',
            prop: 'supName'
        },
        {
            id: 13,
            label: '仓库',
            prop: 'depotName'
        },
        {
            id: 14,
            label: '入库时间',
            prop: 'operTime'
        },
        {
            id: 15,
            label: '备注',
            prop: 'remark'
        }
    ];
}

/**
 * 获取出库明细表头
 */
const getPenghantaranTableHead = () => {
    return [
        {
            id: 1,
            label: '单据编号',
            prop: 'number',
            width: 158
        },
        {
            id: 2,
            label: '条码',
            prop: 'barCode',
            width: 60
        },
        {
            id: 3,
            label: '名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 7,
            label: '数量',
            prop: 'operNumber',
            sortable: true
        },
        {
            id: 8,
            label: '单价',
            prop: 'unitPrice',
            sortable: true
        },
        {
            id: 9,
            label: '金额',
            prop: 'allPrice',
            sortable: true
        },
        {
            id: 10,
            label: '税率',
            prop: 'taxRate'
        },
        {
            id: 11,
            label: '税额',
            prop: 'taxMoney',
            sortable: true
        },
        {
            id: 12,
            label: '往来单位',
            prop: 'supName'
        },
        {
            id: 13,
            label: '仓库',
            prop: 'depotName'
        },
        {
            id: 14,
            label: '出库时间',
            prop: 'operTime'
        },
        {
            id: 15,
            label: '备注',
            prop: 'remark'
        }
    ];
}

/**
 * 获取调拨明细表头
 */
const getMemperuntukkanTableHead = () => {
    return [
        {
            id: 1,
            label: '单据编号',
            prop: 'number',
            width: 158
        },
        {
            id: 2,
            label: '条码',
            prop: 'barCode',
            width: 60
        },
        {
            id: 3,
            label: '名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 7,
            label: '数量',
            prop: 'operNumber',
            sortable: true
        },
        {
            id: 8,
            label: '单价',
            prop: 'unitPrice'
        },
        {
            id: 9,
            label: '金额',
            prop: 'allPrice',
            sortable: true
        },

        {
            id: 10,
            label: '调出仓库',
            prop: 'backDepotName'
        },
        {
            id: 11,
            label: '调入仓库',
            prop: 'inDepotName'
        },
        {
            id: 12,
            label: '调拨日期',
            prop: 'operTime'
        },
        {
            id: 13,
            label: '备注',
            prop: 'remark'
        }
    ];
}

/**
 * 获取入库汇总表头
 */
const getStorageSummaryTableHead = () => {
    return [
        {
            id: 2,
            label: '条码',
            prop: 'barCode'
        },
        {
            id: 3,
            label: '名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '类别',
            prop: 'unit'
        },
        {
            id: 7,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 8,
            label: '入库数量',
            prop: 'storageNumber',
            sortable: true
        },
        {
            id: 9,
            label: '入库金额',
            prop: 'storageMoney',
            sortable: true
        }
    ];
}

/**
 * 获取出库汇总表头
 */
const getOutDepotSummaryTableHead = () => {
    return [
        {
            id: 2,
            label: '条码',
            prop: 'barCode'
        },
        {
            id: 3,
            label: '名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '类别',
            prop: 'unit'
        },
        {
            id: 7,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 8,
            label: '出库数量',
            prop: 'storageNumber',
            sortable: true
        },
        {
            id: 9,
            label: '出库金额',
            prop: 'storageMoney',
            sortable: true
        }
    ];
}

/**
 * 获取进销存统计表头
 */
const getInOutStockReportTableHead = () => {
    return [
        {
            id: 2,
            label: '商品条码',
            prop: 'barCode'
        },
        {
            id: 3,
            label: '商品名称',
            prop: 'name'
        },
        {
            id: 4,
            label: '商品规格',
            prop: 'standard'
        },
        {
            id: 5,
            label: '商品型号',
            prop: 'model'
        },
        {
            id: 6,
            label: '单位',
            prop: 'unit'
        },
        {
            id: 7,
            label: '单价',
            prop: 'purchaseDecimal',
            sortable: true
        },
        {
            id: 8,
            label: '上月结存数量',
            prop: 'lastMonthNumber',
            sortable: true
        },
        {
            id: 9,
            label: '入库数量',
            prop: 'storageNumber',
            sortable: true
        },
        {
            id: 10,
            label: '出库数量',
            prop: 'backNumber',
            sortable: true
        },
        {
            id: 11,
            label: '本月结存数量',
            prop: 'monthNumber',
            sortable: true
        },
        {
            id: 12,
            label: '结存金额',
            prop: 'money',
            sortable: true
        }
    ];
}

/**
 * 获取库存预警表头
 */
const getStokeWarningReport = () => {

}




export {
    getMenyimpanTableHead, getPenghantaranTableHead, getMemperuntukkanTableHead,
    getStorageSummaryTableHead, getOutDepotSummaryTableHead, getInOutStockReportTableHead,
    getStokeWarningReport
}